package org.example.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Getter
@Setter
@ToString
public class ProductByCart implements Serializable {
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "购买人id")
    private Long userId;

    @ApiModelProperty(value = "购买数量")
    private Integer quantity;


    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "商品类型：0果蔬、1花卉、2特产")
    private Long page;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String pic;

    @ApiModelProperty(value = "销量")
    private Integer sale;

    @ApiModelProperty(value = "折后价")
    private String discount;

    @ApiModelProperty(value = "收藏人数")
    private Long cfav;

    @ApiModelProperty(value = "数组类型，服务类目，如“极速退款”，“运费险”，“48小时内发货”等 ")
    private String services;

    @ApiModelProperty(value = "所属店铺")
    private Integer shopId;

    @ApiModelProperty(value = "商品描述（简介）")
    private String description;



}
